package com.qf.service;

import com.github.pagehelper.PageInfo;
import com.qf.entity.Workorder;

/**
 * @author 10537
 * @version V1.0
 * @Date 2021/10/5 16:37
 */

public interface WorkorderService {
    /**
     * 添加工单
     * @param workorder
     */
    void add(Workorder workorder);

    /**
     * 查询所有切页工单并分页
     * @param page
     * @param rows
     * @return
     */
    PageInfo<Workorder> findByPage(Integer page,Integer rows,Integer projectId);
}
